Automattic\WooCommerce\Blocks\BlockTypes\AddToCartForm S

Total Complexity 20
Dependencies 2
Dependents 0
Total lines 191
Lines of code 83
Logical lines of code 46
Comment lines 74
Methods 9
Properties 1

Methods 9

Method Rating Maintainability Complexity Lines of code
render()
S
48 5 36
add_to_cart_redirect_filter()
S
64 4 9
add_is_descendent_of_single_product_block_hidden_input_to_product_form()
S
61 3 12
add_to_cart_message_html_filter()
S
70 3 6
initialize()
S
71 1 5
parse_attributes()
S
71 1 6
get_block_type_script()
S
82 1 3
get_block_type_style()
S
79 1 3
register_block_type_assets()
S
82 1 3